package com.ruoyi.hatha.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 课程表对象 p_kcb
 * 
 * @author ruoyi
 * @date 2024-04-15
 */
public class PKcb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateStr;

    /** 周 */
    @Excel(name = "周")
    private String zhou;

    /** 日期 */
    @Excel(name = "日期")
    private String jian;

    /** 门店 */
    @Excel(name = "门店")
    private Long mdid;

    @Transient
    private List<PYkecheng> ykecheng;

    public List<PYkecheng> getYkecheng() {
        return ykecheng;
    }

    public void setYkecheng(List<PYkecheng> ykecheng) {
        this.ykecheng = ykecheng;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateStr(Date dateStr) 
    {
        this.dateStr = dateStr;
    }

    public Date getDateStr() 
    {
        return dateStr;
    }
    public void setZhou(String zhou) 
    {
        this.zhou = zhou;
    }

    public String getZhou() 
    {
        return zhou;
    }
    public void setJian(String jian) 
    {
        this.jian = jian;
    }

    public String getJian() 
    {
        return jian;
    }
    public void setMdid(Long mdid) 
    {
        this.mdid = mdid;
    }

    public Long getMdid() 
    {
        return mdid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateStr", getDateStr())
            .append("zhou", getZhou())
            .append("jian", getJian())
            .append("mdid", getMdid())
            .toString();
    }
}
